package com.sskj.lib.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class StrategyBean implements Serializable {


    /**
     * list1 : [{"id":"5","name":App.INSTANCE.getString(R.string.lib_strategyBean1),"interest_rate":"33.0000","total_price":"500999.00000000","cycle":"60","share_min":"100.00000000","interest_raising_time":"1561910400","maturity_time":"1562774400","interest_raising_time_s":"1563206400","maturity_time_s":"1568390400","payment_method":"1","status":"1","surplus":"500999.00000000","describe":App.INSTANCE.getString(R.string.lib_strategyBean2),"type":"1","pay_type":"usdt","ctime":"1562205855","content":App.INSTANCE.getString(R.string.lib_strategyBean3),"risk_management":App.INSTANCE.getString(R.string.lib_strategyBean4)}]
     * list2 : [{"id":"3","name":App.INSTANCE.getString(R.string.lib_strategyBean5),"interest_rate":"2.2450","total_price":"900000.00000000","cycle":"180","share_min":"500.00000000","interest_raising_time":"1561564800","maturity_time":"1562774400","interest_raising_time_s":"1561910400","maturity_time_s":"1577462400","payment_method":"1","status":"2","surplus":"899500.00000000","describe":App.INSTANCE.getString(R.string.lib_strategyBean6),"type":"1","pay_type":"usdt","ctime":"1561529596","content":App.INSTANCE.getString(R.string.lib_strategyBean7),"risk_management":App.INSTANCE.getString(R.string.lib_strategyBean8)}]
     * cumulative : -788.0000
     * profit : -500.0000
     * price : 102000
     * exchange_rate : 6.884
     * count_page : 1
     * page : 1
     */

    private String cumulative;
    private String profit;
    private String price;
    private double exchange_rate;
    private int count_page;
    private int page;
    private List<List1Bean> list1;
    private List<List2Bean> list2;

    public String getCumulative() {
        return cumulative;
    }

    public void setCumulative(String cumulative) {
        this.cumulative = cumulative;
    }

    public String getProfit() {
        return profit;
    }

    public void setProfit(String profit) {
        this.profit = profit;
    }

    public String getPrice() {
        return price == null ? "" : price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public double getExchange_rate() {
        return exchange_rate;
    }

    public void setExchange_rate(double exchange_rate) {
        this.exchange_rate = exchange_rate;
    }

    public int getCount_page() {
        return count_page;
    }

    public void setCount_page(int count_page) {
        this.count_page = count_page;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public List<List1Bean> getList1() {
        return list1;
    }

    public void setList1(List<List1Bean> list1) {
        this.list1 = list1;
    }

    public List<List2Bean> getList2() {
        return list2;
    }

    public void setList2(List<List2Bean> list2) {
        this.list2 = list2;
    }

    public static class List1Bean implements Serializable {
        /**
         * id : 5
         * name : 策略投资
         * interest_rate : 33.0000
         * total_price : 500999.00000000
         * cycle : 60
         * share_min : 100.00000000
         * interest_raising_time : 1561910400
         * maturity_time : 1562774400
         * interest_raising_time_s : 1563206400
         * maturity_time_s : 1568390400
         * payment_method : 1
         * status : 1
         * surplus : 500999.00000000
         * describe : 眼里
         * type : 1
         * pay_type : usdt
         * ctime : 1562205855
         * content :  管理&amp;nbsp;&amp;nbsp;</p>
         * risk_management :  管理&amp;nbsp;</p>
         */

        private String id;
        private String name;
        private String interest_rate;
        private String total_price;
        private String cycle;
        private String share_min;
        private String interest_raising_time;
        private String maturity_time;
        private String interest_raising_time_s;
        private String maturity_time_s;
        private String payment_method;
        private String status;
        private String surplus;
        private String describe;
        private String type;
        private String pay_type;
        private String ctime;
        private String content;
        private String risk_management;
        private String warehouse_closing_line;
        private String risk_line;
        private String mortgage_assets;


        public String getMortgage_assets() {
            return mortgage_assets == null ? "" : mortgage_assets;
        }

        public void setMortgage_assets(String mortgage_assets) {
            this.mortgage_assets = mortgage_assets;
        }

        public String getWarehouse_closing_line() {
            return warehouse_closing_line == null ? "0" : warehouse_closing_line;
        }

        public void setWarehouse_closing_line(String warehouse_closing_line) {
            this.warehouse_closing_line = warehouse_closing_line;
        }

        public String getRisk_line() {
            return risk_line == null ? "0" : risk_line;
        }

        public void setRisk_line(String risk_line) {
            this.risk_line = risk_line;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getInterest_rate() {
            return interest_rate;
        }

        public void setInterest_rate(String interest_rate) {
            this.interest_rate = interest_rate;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getCycle() {
            return cycle == null ? "0" : cycle;
        }

        public void setCycle(String cycle) {
            this.cycle = cycle;
        }

        public String getShare_min() {
            return share_min;
        }

        public void setShare_min(String share_min) {
            this.share_min = share_min;
        }

        public String getInterest_raising_time() {
            return interest_raising_time;
        }

        public void setInterest_raising_time(String interest_raising_time) {
            this.interest_raising_time = interest_raising_time;
        }

        public String getMaturity_time() {
            return maturity_time;
        }

        public void setMaturity_time(String maturity_time) {
            this.maturity_time = maturity_time;
        }

        public String getInterest_raising_time_s() {
            return interest_raising_time_s;
        }

        public void setInterest_raising_time_s(String interest_raising_time_s) {
            this.interest_raising_time_s = interest_raising_time_s;
        }

        public String getMaturity_time_s() {
            return maturity_time_s;
        }

        public void setMaturity_time_s(String maturity_time_s) {
            this.maturity_time_s = maturity_time_s;
        }

        public String getPayment_method() {
            return payment_method;
        }

        public void setPayment_method(String payment_method) {
            this.payment_method = payment_method;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSurplus() {
            return surplus;
        }

        public void setSurplus(String surplus) {
            this.surplus = surplus;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getRisk_management() {
            return risk_management;
        }

        public void setRisk_management(String risk_management) {
            this.risk_management = risk_management;
        }
    }

    public static class List2Bean implements Serializable {
        /**
         * id : 3
         * name : 投资有风险
         * interest_rate : 2.2450
         * total_price : 900000.00000000
         * cycle : 180
         * share_min : 500.00000000
         * interest_raising_time : 1561564800
         * maturity_time : 1562774400
         * interest_raising_time_s : 1561910400
         * maturity_time_s : 1577462400
         * payment_method : 1
         * status : 2
         * surplus : 899500.00000000
         * describe : 中等风险
         * type : 1
         * pay_type : usdt
         * ctime : 1561529596
         * content :  产品简介</p>
         * risk_management :  风控管理</p>
         */

        private String id;
        private String name;
        private String interest_rate;
        private String total_price;
        private String cycle;
        private String share_min;
        private String interest_raising_time;
        private String maturity_time;
        private String interest_raising_time_s;
        private String maturity_time_s;
        private String payment_method;
        private String status;
        private String surplus;
        private String describe;
        private String type;
        private String pay_type;
        private String ctime;
        private String content;
        private String risk_management;
        private String warehouse_closing_line;
        private String risk_line;
        private String mortgage_assets;


        public String getMortgage_assets() {
            return mortgage_assets == null ? "" : mortgage_assets;
        }

        public void setMortgage_assets(String mortgage_assets) {
            this.mortgage_assets = mortgage_assets;
        }

        public String getWarehouse_closing_line() {
            return warehouse_closing_line == null ? "" : warehouse_closing_line;
        }

        public void setWarehouse_closing_line(String warehouse_closing_line) {
            this.warehouse_closing_line = warehouse_closing_line;
        }

        public String getRisk_line() {
            return risk_line == null ? "" : risk_line;
        }

        public void setRisk_line(String risk_line) {
            this.risk_line = risk_line;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getInterest_rate() {
            return interest_rate;
        }

        public void setInterest_rate(String interest_rate) {
            this.interest_rate = interest_rate;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getCycle() {
            return cycle;
        }

        public void setCycle(String cycle) {
            this.cycle = cycle;
        }

        public String getShare_min() {
            return share_min;
        }

        public void setShare_min(String share_min) {
            this.share_min = share_min;
        }

        public String getInterest_raising_time() {
            return interest_raising_time;
        }

        public void setInterest_raising_time(String interest_raising_time) {
            this.interest_raising_time = interest_raising_time;
        }

        public String getMaturity_time() {
            return maturity_time;
        }

        public void setMaturity_time(String maturity_time) {
            this.maturity_time = maturity_time;
        }

        public String getInterest_raising_time_s() {
            return interest_raising_time_s;
        }

        public void setInterest_raising_time_s(String interest_raising_time_s) {
            this.interest_raising_time_s = interest_raising_time_s;
        }

        public String getMaturity_time_s() {
            return maturity_time_s;
        }

        public void setMaturity_time_s(String maturity_time_s) {
            this.maturity_time_s = maturity_time_s;
        }

        public String getPayment_method() {
            return payment_method;
        }

        public void setPayment_method(String payment_method) {
            this.payment_method = payment_method;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSurplus() {
            return surplus;
        }

        public void setSurplus(String surplus) {
            this.surplus = surplus;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getRisk_management() {
            return risk_management;
        }

        public void setRisk_management(String risk_management) {
            this.risk_management = risk_management;
        }
    }
}
